Optimal. Leaf size=235 \[ \frac{2^{-2 (n+3)} e^{-\frac{4 a}{b}} \sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^n \left (-\frac{a+b \sinh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c^2 x^2+1}}-\frac{2^{-2 (n+3)} e^{\frac{4 a}{b}} \sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^n \left (\frac{a+b \sinh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c^2 x^2+1}}-\frac{\sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^{n+1}}{8 b c^3 (n+1) \sqrt{c^2 x^2+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.454066, antiderivative size = 235, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.179, Rules used = {5782, 5779, 5448, 3307, 2181} \[ \frac{2^{-2 (n+3)} e^{-\frac{4 a}{b}} \sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^n \left (-\frac{a+b \sinh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c^2 x^2+1}}-\frac{2^{-2 (n+3)} e^{\frac{4 a}{b}} \sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^n \left (\frac{a+b \sinh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c^2 x^2+1}}-\frac{\sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )^{n+1}}{8 b c^3 (n+1) \sqrt{c^2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5782
Rule 5779
Rule 5448
Rule 3307
Rule 2181
Rubi steps
\begin{align*} \int x^2 \sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^n \, dx &=\frac{\sqrt{d+c^2 d x^2} \int x^2 \sqrt{1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )^n \, dx}{\sqrt{1+c^2 x^2}}\\ &=\frac{\sqrt{d+c^2 d x^2} \operatorname{Subst}\left (\int (a+b x)^n \cosh ^2(x) \sinh ^2(x) \, dx,x,\sinh ^{-1}(c x)\right )}{c^3 \sqrt{1+c^2 x^2}}\\ &=\frac{\sqrt{d+c^2 d x^2} \operatorname{Subst}\left (\int \left (-\frac{1}{8} (a+b x)^n+\frac{1}{8} (a+b x)^n \cosh (4 x)\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{c^3 \sqrt{1+c^2 x^2}}\\ &=-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^{1+n}}{8 b c^3 (1+n) \sqrt{1+c^2 x^2}}+\frac{\sqrt{d+c^2 d x^2} \operatorname{Subst}\left (\int (a+b x)^n \cosh (4 x) \, dx,x,\sinh ^{-1}(c x)\right )}{8 c^3 \sqrt{1+c^2 x^2}}\\ &=-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^{1+n}}{8 b c^3 (1+n) \sqrt{1+c^2 x^2}}+\frac{\sqrt{d+c^2 d x^2} \operatorname{Subst}\left (\int e^{-4 x} (a+b x)^n \, dx,x,\sinh ^{-1}(c x)\right )}{16 c^3 \sqrt{1+c^2 x^2}}+\frac{\sqrt{d+c^2 d x^2} \operatorname{Subst}\left (\int e^{4 x} (a+b x)^n \, dx,x,\sinh ^{-1}(c x)\right )}{16 c^3 \sqrt{1+c^2 x^2}}\\ &=-\frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^{1+n}}{8 b c^3 (1+n) \sqrt{1+c^2 x^2}}+\frac{4^{-3-n} e^{-\frac{4 a}{b}} \sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^n \left (-\frac{a+b \sinh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{1+c^2 x^2}}-\frac{4^{-3-n} e^{\frac{4 a}{b}} \sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )^n \left (\frac{a+b \sinh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{1+c^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.945789, size = 170, normalized size = 0.72 \[ \frac{d \sqrt{c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )^n \left (4^{-n} e^{-\frac{4 a}{b}} \left (-\frac{\left (a+b \sinh ^{-1}(c x)\right )^2}{b^2}\right )^{-n} \left (\left (\frac{a}{b}+\sinh ^{-1}(c x)\right )^n \text{Gamma}\left (n+1,-\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )-e^{\frac{8 a}{b}} \left (-\frac{a+b \sinh ^{-1}(c x)}{b}\right )^n \text{Gamma}\left (n+1,\frac{4 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )\right )-\frac{8 \left (a+b \sinh ^{-1}(c x)\right )}{b n+b}\right )}{64 c^3 \sqrt{d \left (c^2 x^2+1\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.241, size = 0, normalized size = 0. \begin{align*} \int{x}^{2} \left ( a+b{\it Arcsinh} \left ( cx \right ) \right ) ^{n}\sqrt{{c}^{2}d{x}^{2}+d}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c^{2} d x^{2} + d}{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}^{n} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{c^{2} d x^{2} + d}{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}^{n} x^{2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c^{2} d x^{2} + d}{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}^{n} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]